Q3PointLight_GetAttenuation
You can use theQ3PointLight_GetAttenuation
function to get the attenuation of a point light.
TQ3Status Q3PointLight_GetAttenuation ( TQ3LightObject light, TQ3AttenuationType *attenuation);
light
- A point light object.
attenuation
- On exit, the type of attenuation of the light. See "Light Attenuation Values" on page 8-9 for a description of the constants that can be returned in this parameter.
DESCRIPTION
TheQ3PointLight_GetAttenuation
function returns, in theattenuation
parameter, the current attenuation value of the point light specified by thelight
parameter.